﻿<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:Avanade="urn:Avanade" xmlns:rs='urn:schemas-microsoft-com:rowset' xmlns:z='#RowsetSchema'>
  <xsl:template match="/">
	<style type="text/css">
		.ms-WPTitleMusique {
			PADDING-RIGHT: 7px; BACKGROUND-POSITION: left 50%; PADDING-LEFT: 30px! important; FONT-WEIGHT: bold; 
			FONT-SIZE: 12px; 
			BACKGROUND-IMAGE: url(/_LAYOUTS/XSLTemplates/Images/Musique.png); 
			MARGIN-BOTTOM: 2px; PADDING-BOTTOM: 2px; TEXT-TRANSFORM: uppercase; COLOR: #6a9900; PADDING-TOP: 2px; BACKGROUND-REPEAT: no-repeat; FONT-FAMILY: Arial, sans-serif
		}	
	</style>
    <input type="hidden" name="selectedButton" value="" />
    <input type="hidden" name="PageCrt" value="{xml/PageCrt}" />

	<table border="0" cellpadding="0" cellspacing="0" width="100%">
		<tr class="ms-WPHeader">
			<td  id="WebPartTitleWPQ17" style="width:100%;"><h3 class="ms-standardheader ms-WPTitleMusique"><a accesskey="W" tabindex="0" href="/Lists/{xml/Title}/AllItems.aspx?Source=/Pages/BlindTest.aspx"><nobr><span><xsl:value-of select="xml/Title"/></span><span id="WebPartCaptionWPQ17"></span></nobr></a></h3></td><td align="right" style="padding-right:2px"><div style="cursor: pointer" class="ms-HoverCellInActive" onmouseout="this.className='ms-HoverCellInActive'" onmouseover="this.className='ms-HoverCellActiveDark'"><nobr><a onclick="MSOWebPartPage_OpenMenu(MSOMenu_WebPartMenu, this, WebPartWPQ17,&#39;False&#39;);return false;" id="WebPartWPQ17_MenuLink" onkeydown="MSOMenu_KeyboardClick(WebPartWPQ17_MenuLink, 13, 40)" href="#"><img src="/_layouts/images/Menu1.gif" border="0" align="absmiddle" title="{xml/Title}" alt="{xml/Title}" style="padding-left:2px;" /></a></nobr></div></td>
		</tr>
	</table>
	
	<table border="0" cellspacing="2" cellpadding="2">
	  <xsl:for-each select="xml/rs:data/z:row">
		  <tr>
			<td style="padding:3px">
				<xsl:value-of select="current()/@ows_Title" />
			</td>
		  </tr>
	  </xsl:for-each>
	  <xsl:if test="normalize-space(xml/NewFormURL) != ''">
		<tr>
		  <td class="ms-addnew">
			<xsl:if test="xml/Title != 'Team Marketing Communication' and xml/Title != 'Team 2 Marketing Communication'">
			<br/>
			<![CDATA[<img alt="" src="_layouts/images/rect.gif" />&nbsp;<a class="ms-addnew" href="]]><xsl:value-of select="xml/NewFormURL" /><![CDATA[">Inscrivez-vous dans cette équipe</a>]]>
			</xsl:if>
			<br/>
			<![CDATA[<img alt="" src="_layouts/images/rect.gif" />&nbsp;<a class="ms-addnew" href="]]>/Lists/<xsl:value-of select="xml/Title" />/AllItems.aspx?Source=/Pages/BlindTest.aspx<![CDATA[">Visionnez la liste des inscrits</a>]]>
		  </td>
		</tr>
	  </xsl:if>
	</table>
  </xsl:template>
</xsl:stylesheet>